.class final Lkairo/android/ui/h;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Lkairo/android/ui/g;


# direct methods
.method constructor <init>(Lkairo/android/ui/g;)V
    .locals 0

    iput-object p1, p0, Lkairo/android/ui/h;->a:Lkairo/android/ui/g;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final run()V
    .locals 10

    const-string v8, "Alert1"
    const-string v9, "Fuck"
    invoke-static {v9, v8}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I


    const/4 v7, 0x3

    const/4 v6, 0x2

    const/4 v5, 0x0

    const/4 v4, 0x1

    invoke-static {}, Lkairo/android/ui/IApplication;->a()Lkairo/android/ui/IApplication;

    move-result-object v0

    new-instance v1, Landroid/app/AlertDialog$Builder;

    invoke-direct {v1, v0}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    iget-object v0, p0, Lkairo/android/ui/h;->a:Lkairo/android/ui/g;

    invoke-static {v0}, Lkairo/android/ui/g;->a(Lkairo/android/ui/g;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    iget-object v0, p0, Lkairo/android/ui/h;->a:Lkairo/android/ui/g;

    invoke-static {v0}, Lkairo/android/ui/g;->b(Lkairo/android/ui/g;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    const/4 v0, 0x0

    iget-object v2, p0, Lkairo/android/ui/h;->a:Lkairo/android/ui/g;

    invoke-static {v2}, Lkairo/android/ui/g;->c(Lkairo/android/ui/g;)I

    move-result v2

    if-nez v2, :cond_4

    new-array v0, v4, [Ljava/lang/String;

    const-string v2, "OK"

    aput-object v2, v0, v5

    :cond_0
    :goto_0
    array-length v2, v0

    if-lez v2, :cond_1

    aget-object v2, v0, v5

    new-instance v3, Lkairo/android/ui/i;

    invoke-direct {v3, p0}, Lkairo/android/ui/i;-><init>(Lkairo/android/ui/h;)V

    invoke-virtual {v1, v2, v3}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    :cond_1
    array-length v2, v0

    if-ge v4, v2, :cond_2

    aget-object v2, v0, v4

    new-instance v3, Lkairo/android/ui/j;

    invoke-direct {v3, p0}, Lkairo/android/ui/j;-><init>(Lkairo/android/ui/h;)V

    invoke-virtual {v1, v2, v3}, Landroid/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    :cond_2
    array-length v2, v0

    if-ge v6, v2, :cond_3

    aget-object v0, v0, v6

    new-instance v2, Lkairo/android/ui/k;

    invoke-direct {v2, p0}, Lkairo/android/ui/k;-><init>(Lkairo/android/ui/h;)V

    invoke-virtual {v1, v0, v2}, Landroid/app/AlertDialog$Builder;->setNeutralButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    :cond_3
    new-instance v0, Lkairo/android/ui/l;

    invoke-direct {v0, p0}, Lkairo/android/ui/l;-><init>(Lkairo/android/ui/h;)V

    invoke-virtual {v1, v0}, Landroid/app/AlertDialog$Builder;->setOnCancelListener(Landroid/content/DialogInterface$OnCancelListener;)Landroid/app/AlertDialog$Builder;

    new-instance v0, Lkairo/android/ui/m;

    invoke-direct {v0, p0}, Lkairo/android/ui/m;-><init>(Lkairo/android/ui/h;)V

    invoke-virtual {v1, v0}, Landroid/app/AlertDialog$Builder;->setOnKeyListener(Landroid/content/DialogInterface$OnKeyListener;)Landroid/app/AlertDialog$Builder;

    invoke-virtual {v1}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;

    return-void

    :cond_4
    iget-object v2, p0, Lkairo/android/ui/h;->a:Lkairo/android/ui/g;

    invoke-static {v2}, Lkairo/android/ui/g;->c(Lkairo/android/ui/g;)I

    move-result v2

    if-ne v2, v4, :cond_5

    new-array v0, v4, [Ljava/lang/String;

    const-string v2, "OK"

    aput-object v2, v0, v5

    goto :goto_0

    :cond_5
    iget-object v2, p0, Lkairo/android/ui/h;->a:Lkairo/android/ui/g;

    invoke-static {v2}, Lkairo/android/ui/g;->c(Lkairo/android/ui/g;)I

    move-result v2

    if-ne v2, v6, :cond_6

    new-array v0, v4, [Ljava/lang/String;

    const-string v2, "OK"

    aput-object v2, v0, v5

    goto :goto_0

    :cond_6
    iget-object v2, p0, Lkairo/android/ui/h;->a:Lkairo/android/ui/g;

    invoke-static {v2}, Lkairo/android/ui/g;->c(Lkairo/android/ui/g;)I

    move-result v2

    if-ne v2, v7, :cond_7

    new-array v0, v6, [Ljava/lang/String;

    const-string v2, "YES"

    aput-object v2, v0, v5

    const-string v2, "NO"

    aput-object v2, v0, v4

    goto :goto_0

    :cond_7
    iget-object v2, p0, Lkairo/android/ui/h;->a:Lkairo/android/ui/g;

    invoke-static {v2}, Lkairo/android/ui/g;->c(Lkairo/android/ui/g;)I

    move-result v2

    const/4 v3, 0x4

    if-ne v2, v3, :cond_0

    new-array v0, v7, [Ljava/lang/String;

    const-string v2, "YES"

    aput-object v2, v0, v5

    const-string v2, "NO"

    aput-object v2, v0, v4

    const-string v2, "CANCEL"

    aput-object v2, v0, v6

    goto/16 :goto_0
.end method
